package com.hsjk.szwj.module.smedia.controller.admin.job.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/07/21 18:05
 **/
@NoArgsConstructor
@Data
public class GetSmartHandleJobRespVO {

    private String requestId;
    private String jobId;
    private String output;
    private JobResultDTO jobResult;
    private String state;
    private String userData;
    private SmartJobInfoDTO smartJobInfo;

    @NoArgsConstructor
    @Data
    public static class JobResultDTO {
        private String mediaId;
        private String aiResult;
    }

    @NoArgsConstructor
    @Data
    public static class SmartJobInfoDTO {
        private String title;
        private String description;
        private String userId;
        private InputConfigDTO inputConfig;
        private OutputConfigDTO outputConfig;
        private String createTime;
        private String modifiedTime;
        private String jobType;

        @NoArgsConstructor
        @Data
        public static class InputConfigDTO {
            private String inputFile;
        }

        @NoArgsConstructor
        @Data
        public static class OutputConfigDTO {
            private String bucket;
            private String object;
        }
    }
}
